package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/9/26
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StoreOut extends BaseEntity {
    private Long id;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date outTime;
    private Long storeInId;
    private Long orderId;
    private String status;
    private String area;
    private String type;
    private String applicant;
    private String insurer;
    private String confirmer;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date confirmTime;
    private String remark;

    private BigDecimal amount;

    List<StoreOutDetail> detailList;
}
